﻿@model JuniorProject.Models.Employee.CreationModels.Create_CommentModel

@{
    ViewBag.Title = "AddComment";
}

@Html.Partial("_EmployeeTopNavBar", ViewData["ApplicationID"])
<h2>
Add Comment
</h2>
<br />

@using (Html.BeginForm(new { AppID = ViewData["ApplicationID"], EmpID = ViewData["EmployeeID"] }))
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CreateCommentModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Comment)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Comment)
            @Html.ValidationMessageFor(model => model.Comment)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ApplicantVisible)
        </div>
        <div class="editor-field">
            @Html.CheckBoxFor(model => model.ApplicantVisible)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}


@Html.ActionLink("Back to List", "ApplicationDetails_Comments", new { id = ViewData["ApplicationID"] })
<p>
    @Html.Partial("_EmployeeBottomNavBar", ViewData["AccessLevel"])
</p>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
